package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Customer;
import cn.wolfcode.crm.domain.Employee;
import cn.wolfcode.crm.domain.SystemDictionaryItem;

import cn.wolfcode.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICustomerService {
    void delete(Long id);

    void save(Customer customer);

    Customer get(Long id);

    List<Customer> listAll();

    void update(Customer customer);

    PageInfo list(QueryObject queryObject);

    List<Employee> selectEmployeeByRoleSn(String... sns);

    List<SystemDictionaryItem> selectJobBysn(String job);

    String selectByTel(String tel);

    List<Customer> selectCustomer();

    void updateStatus(Long id, Integer status);
}
